import React from 'react';
import {Link} from "../react-router-dom";

export default class UserList extends React.Component {
    render() {
        return (
            <div>
                <Link to="/user/detail/1">用户1</Link>
                <Link to="/user/detail/2">用户2</Link>
                <Link to="/user/detail/3">用户3</Link>
            </div>
        )
    }
}